Skip to content

Conversation

smalyshev
Copy link
Contributor

No description provided.

var matcher = expected.matcher(line);
if (matcher.find()) {
String allFields = matcher.group(1);
Set<String> loadedFields = Arrays.stream(allFields.split(","))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrong - for [] it produced Set.of("") not empty set.

Copy link
Contributor

@alex-spies alex-spies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks @smalyshev !

| DROP b*
""";
assertLookupJoinFieldNames(query, data, List.of(Set.of("foo"), Set.of("foo")));
assertLookupJoinFieldNames(query, data, List.of(Set.of(), Set.of("foo")));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@smalyshev smalyshev marked this pull request as ready for review July 31, 2025 13:54
@smalyshev smalyshev added >test Issues or PRs that are addressing/adding tests :Analytics/ES|QL AKA ESQL labels Jul 31, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jul 31, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@smalyshev smalyshev merged commit b08feee into elastic:main Jul 31, 2025
33 checks passed
smalyshev added a commit to smalyshev/elasticsearch that referenced this pull request Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants